home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / Centri / Centri.dir / 00151_Script_Jigg < prev    next >
Text File  |  1999-02-25  |  1KB  |  40 lines

  1. on enterFrame me
  2.   
  3.   set the moveableSprite of sprite the spriteNum of me = TRUE
  4.   
  5.   if the locv of sprite the SpriteNum of me > 0 then
  6.     set the locv of sprite the SpriteNum of me = the locv of sprite the SpriteNum of me - 2
  7.   else 
  8.     set the width of sprite the SpriteNum of me = the width of sprite the SpriteNum of me * 1.5
  9.     set the height of sprite the SpriteNum of me = the height of sprite the SpriteNum of me * 1.5
  10.     
  11.     if the spriteNum of me = 14 then 
  12.       set the locv of sprite the spriteNum of me = the locv of sprite 18 + (the height of sprite the spriteNum of me * 1.05)
  13.     end if
  14.     
  15.     if the spriteNum of me = 15 then 
  16.       set the locv of sprite the spriteNum of me = the locv of sprite 14 + (the height of sprite the spriteNum of me * 1.05)
  17.     end if
  18.     
  19.     if the spriteNum of me = 16 then 
  20.       set the locv of sprite the spriteNum of me = the locv of sprite 15 + (the height of sprite the spriteNum of me * 1.05)
  21.     end if
  22.     
  23.     if the spriteNum of me = 17 then 
  24.       set the locv of sprite the spriteNum of me = the locv of sprite 16 + (the height of sprite the spriteNum of me * 1.05)
  25.     end if
  26.     
  27.     if the spriteNum of me = 18 then 
  28.       set the locv of sprite the spriteNum of me = the locv of sprite 17 + (the height of sprite the spriteNum of me * 1.05)
  29.     end if
  30.     
  31.   end if
  32.   
  33.   
  34. end 
  35.  
  36. on mouseWithin me
  37.   cursor 260
  38.  
  39. end
  40.